// 面向对象
;(function(doc){
    // 构造函数
    const Tab = function () {
        const oTab = doc.querySelector('.z-tab');
        this.oTabItem = oTab.querySelectorAll('.tab-head div');
        this.oCont = oTab.querySelectorAll('.tab-item');
    }
    Tab.prototype.init = function () {
        this.bindEvent();
    }
    Tab.prototype.bindEvent = function (){

    }
    window.Tab = Tab;
})(document); 
